###############################################################################
##
## $Id$
##
## Copyright (C) 2008 Josh Guilfoyle <jasta@devtcg.org>
##
## This program is free software; you can redistribute it and/or modify it
## under the terms of the GNU General Public License as published by the
## Free Software Foundation; either version 2, or (at your option) any
## later version.
##
## This program is distributed in the hope that it will be useful, but
## WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
## General Public License for more details.
##
###############################################################################

SUBDIRS = ui

bin_PROGRAMS = five

AM_CFLAGS = \
	-DDATADIR=\""$(datadir)"\" \
	-DLOCALEDIR=\""$(datadir)/locale"\" \
	@GLIB_CFLAGS@ \
	@GCONF_CFLAGS@ \
	@LIBSYNCML_CFLAGS@ \
	@LIBSOUP_CFLAGS@ \
	@SQLITE3_CFLAGS@ \
	@TAGLIB_CFLAGS@ \
	@WAND_CFLAGS@ \
	@LIBMUSICBRAINZ3_CFLAGS@

INCLUDES = \
	-I$(top_srcdir)

five_LDFLAGS = \
	@GLIB_LIBS@ \
	@GCONF_LIBS@ \
	@LIBSYNCML_LIBS@ \
	@LIBSOUP_LIBS@ \
	@SQLITE3_LIBS@ \
	@TAGLIB_LIBS@ \
	@WAND_LIBS@ \
	@LIBMUSICBRAINZ3_LIBS@

five_LDADD = \
	$(top_builddir)/src/ui/gtk/libfive-ui-gtk.la

five_SOURCES = \
	main.c \
	session.c session.h \
	meta.c meta.h \
	db.c db.h \
	content.c content.h \
	item.c item.h \
	inotify.c inotify.h \
	server.c server.h \
	utils.c utils.h \
	playlist.c playlist.h
